 var _api_root = "https://www.duilusx.com/duilu",
//var _api_root = "http://10.87.200.85",
  api = {
    index: _api_root + "/",
    img:{
      //upload_img: "https://a.v2too.com/Kaliduo/common/wxUploadPic",
      upload_img: _api_root + "/common/wxUploadPic",
    },
    banner: {
      getBanner: _api_root + "/banner/getBanner"
    },
    wx:{
      /** 用户是否为vip 用户的判断 */
      is_vip: _api_root + "/wx/is_vip",
    },
    active: {
      activities: _api_root + "/act/activities",
      /** 活动预览 */
      act_preview_desc: _api_root + "/act/act_preview_desc", 
    },
    audio: {
      /** 智库专家列表 */
      tt_expertes: _api_root + "/tea/tt_expertes",
      /** 智库专家详情页面 */
      tea_detail: _api_root + "/tea/tea_detail",
      
      getWorkShops: _api_root + "/ws/getWorkShops",
      recommendByOpenid: _api_root + "/ws/recommendByOpenid",
      workShopDetail: _api_root + "/ws/workShopDetail",
      recommendDatas: _api_root + "/ws/recommendDatas",
      addRecommendOrder: _api_root + "/ws/addRecommendOrder",
      enrolls: _api_root + "/ord/enrolls",
      mineWorkShops: _api_root + "/ws/mineWorkShops",

    },
    art: {
      getArticle: _api_root + "/art/getArticle",
      artDetail: _api_root + "/art/artDetail",
      /** 获取作者信息 */
      partner: _api_root + "/part/partner",
      partnerByOpenId: _api_root + "/part/partnerByOpenId",
      /** 文章预览 */
      art_preview_desc: _api_root + "/art/art_preview_desc", 
    },
    cou: {
      courses: _api_root + "/cou/courses",
      avos: _api_root + "/cou/avos",
      couDetail: _api_root + "/cou/couDetail",
      /** 积分兑换课程 */
      exchange_course: _api_root + "/cou/exchange_course"
    },
    detail: {
      actDetail: _api_root + "/act/actDetail",
      checkCoupon: _api_root + "/act/checkCoupon",
      consultData: _api_root + "/cons/consultData",
      actReplyById: _api_root + "/act/actReplyById",
      actSpecByUUID: _api_root + "/act/actSpecByUUID",
      actEnrolls: _api_root + "/act/actEnrolls",
      addConsult: _api_root + "/cons/addConsult",
      addReply: _api_root + "/cons/addReply",
      delConsult: _api_root + "/cons/delConsult",
      checkCoupon: _api_root + "/act/checkCoupon",
      assDetail: _api_root + "/act/assDetail",
      add_del_Collection: _api_root + "/col/add_del_Collection"
    },
    pay: {
      toBuy: _api_root + "/pay/toBuy",
      getVipSpec: _api_root + "/pay/getVipSpec",
      resultSuccess: _api_root + "/pay/resultSuccess",
      toContinuePay: _api_root + "/pay/toContinuePay",
    },
    login: {
      getOpenId: _api_root + "/wx/getOpenId",
      login: _api_root + "/wx/login",
      phoneCode: _api_root + "/wechat_mine/phoneCode",
      BindPhoneLogin: _api_root + "/wechat_mine/BindPhoneLogin",
      checkBindPhone: _api_root + "/wechat_mine/checkBindPhone",
    },
    mine: {
      useCoupons: _api_root + "/wechat_mine/useCoupons",
      mine: _api_root + "/wechat_mine/mine",
      orderOfMine: _api_root + "/wechat_mine/orderOfMine",
      applyToCopartner: _api_root + "/wechat_mine/applyToCopartner",
      equityContent: _api_root + "/wechat_mine/equityContent",
      renewVIP: _api_root + "/wechat_mine/renewVIP",
      isCopartner: _api_root + "/wechat_mine/isCopartner",
      getMyBusiness: _api_root + "/wechat_mine/getMyBusiness",
      businessPerson: _api_root + "/wechat_mine/businessPerson",
      orderDetail: _api_root + "/wechat_mine/orderDetail",
      mineCoupon: _api_root + "/wechat_mine/mineCoupon",
      copartnerManager: _api_root + "/wechat_mine/copartnerManager",
      checkCoupon: _api_root + "/wechat_mine/checkCoupon",
      addPerson: _api_root + "/wechat_mine/addPerson",
      subordinateCopartner: _api_root + "/wechat_mine/subordinateCopartner",/** 下级合伙人列表 */
      addSubordinateCopartner: _api_root + "/wechat_mine/addSubordinateCopartner",
      useContent: _api_root + "/wechat_mine/useContent", /** 对鹿商学用户使用协议 */
      my_invite_cunstomers: _api_root + "/wechat_mine/my_invite_cunstomers", /** 我邀请的客户列表 */
      pre_purchase_notice: _api_root + "/wechat_mine/pre_purchase_notice", /** 预购须知 */
      mine_pre_purchase: _api_root + "/wechat_mine/mine_pre_purchase", /** 我的预购 */
      
      think_tank_aut: _api_root + "/wechat_mine/think_tank_aut", /** 智库专家认证 */
      is_having_aut: _api_root + "/wechat_mine/is_having_aut", /** 智库专家认证是否审核通过 */
    },
    class: {
      commentsOfMine: _api_root + "/rec/commentsOfMine",
        mineCollection: _api_root + "/rec/mineCollection",
        actOfMineParticipateIn: _api_root + "/rec/actOfMineParticipateIn",
        historyRecord: _api_root + "/rec/historyRecord",
    }
  };

module.exports = api;